﻿<Page x:Class="MediaLibrary.Controls.FileAssociationsPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="FileAssociationsPage">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="85" />
            <RowDefinition />
            <RowDefinition Height="50"/>
            <RowDefinition Height="35"/>
        </Grid.RowDefinitions>

        <StackPanel>
            <Label>Library File Associations</Label>
            <TextBlock Margin="10,0,10,0" TextWrapping="Wrap">Use the check boxes to associate the following media types with AMP.</TextBlock>
        </StackPanel>
        
        <StackPanel Grid.Row="1" Margin="10,0,10,0" Orientation="Horizontal">
            <StackPanel>
                <Label>Music File Types</Label>
                <CheckBox Name="mp3CheckBox" Content="MP3" Margin="10,0,10,10" Checked="extension_Checked" />
            </StackPanel>
            <StackPanel>
            <Label>Video File Types</Label>
                <CheckBox Name="aviCheckBox" Content="AVI" Margin="10,0,10,10" Checked="extension_Checked" />
            </StackPanel>
            <StackPanel>
                <Label>Playlist File Types</Label>
                <CheckBox Name="m3uCheckBox" Content="M3U" Margin="10,0,10,10" Checked="extension_Checked" />
            </StackPanel>
        </StackPanel>
        <Button Name="saveButton" Grid.Row="2" Click="saveButton_Click" Margin="10,0,10,0" Content="Save" Width="100" HorizontalAlignment="Left" Height="25"/>
        <Label Grid.Row="3" Margin="10,0,10,0">Changes will only take effect when you click 'Save'.</Label>
    </Grid>
</Page>
